import { IShapeProps } from "@/interface/IShape";
import { CSSProperties } from "vue";
/**
 * 注释: svg的样式
 *
 * */

export const svgStyle = (item: IShapeProps): CSSProperties => {
  return {
    width: `${item.w}px`,
    height: `${item.h}px`
  };
};
